package com.woniuxy.yoga.business.service;

import com.woniuxy.yoga.business.dao.model.BusinessStoreApply;
import com.baomidou.mybatisplus.extension.service.IService;
import com.woniuxy.yoga.business.model.dto.businessstoreapply.StoreApplyAuditDTO;
import com.woniuxy.yoga.business.model.dto.businessstoreapply.StoreApplyDTO;
import com.woniuxy.yoga.business.model.param.businessstoreapply.AdminStoreApplyAuditParam;
import com.woniuxy.yoga.business.model.param.businessstoreapply.SelectPageAuditedParam;
import com.woniuxy.yoga.business.model.param.businessstoreapply.SelectPageNotAuditedParam;
import com.woniuxy.yoga.business.model.param.businessstoreapply.StoreApplyAddParam;
import com.woniuxy.yoga.commons.core.model.PageInfo;

/**
 * <p>
 * 商家门店申请表 服务类
 * </p>
 *
 * @author 韦用文,刘存益,郎腾霄
 * @since 2023年11月28日
 */
public interface BusinessStoreApplyService extends IService<BusinessStoreApply> {
    /**
     * 商家申请入驻
     * @return
     * @throws Exception
     */
    StoreApplyDTO addStoreApply(StoreApplyAddParam param);
    /**
     * 平台审核入驻申请
     * @param param
     * @param
     * @return
     * @throws Exception
     */
    StoreApplyAuditDTO auditStoreApply(AdminStoreApplyAuditParam param);
    /**
     * 平台查询未审核门店入驻信息
     * @param param
     * @return
     */
    PageInfo selPageNotAudited(SelectPageNotAuditedParam param);
    /**
     * 平台查询已审核的入驻信息
     * @param param
     * @return
     */
    PageInfo selPageAudited(SelectPageAuditedParam param);
}
